From ad30ac3932a32e2412f41c36f19a30f7c6f08769 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 24 Nov 2020 18:32:48 +0100 Subject: [PATCH] Shortcut: add missing nullability annotations --- gtk/gtkshortcut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkshortcut.c b/gtk/gtkshortcut.c index caacf810a6..c0cd24d2ae 100644 --- a/gtk/gtkshortcut.c +++ b/gtk/gtkshortcut.c @@ -287,7 +287,7 @@ gtk_shortcut_new_with_arguments (GtkShortcutTrigger *trigger, * * Gets the action that is activated by this shortcut. * - * Returns: (transfer none): the action + * Returns: (transfer none) (nullable): the action **/ GtkShortcutAction * gtk_shortcut_get_action (GtkShortcut *self) @@ -327,7 +327,7 @@ gtk_shortcut_set_action (GtkShortcut *self, * * Gets the trigger used to trigger @self. * - * Returns: (transfer none): the trigger used + * Returns: (transfer none) (nullable): the trigger used **/ GtkShortcutTrigger * gtk_shortcut_get_trigger (GtkShortcut *self) -- 2.30.2